<%@ page import="your_car_status.Inventory" %>
<!DOCTYPE html>
<html>
  
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>New Inventory</title>
    <meta name="layout" content="main">
  </head>
  <body>
    <br>
    <g:link class="list" action="create">
      <div class="tabSelected">
        New Inventory
      </div>
    </g:link>
  
    <g:link class="list" action="list">
      <div class="tabNoSelected">
        List Inventory
      </div>
    </g:link>
  
    <g:link class="list" action="logout" controller="LogIn">
      <div class="tabNoSelected">Log Out</div>
    </g:link>
	
      <div id="create-repairShop" class="content scaffold-create" role="main">
			<h1>Create Inventory</h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<g:hasErrors bean="${inventoryInstance}">
			<ul class="errors" role="alert">
				<g:eachError bean="${inventoryInstance}" var="error">
				<li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message error="${error}"/></li>
				</g:eachError>
			</ul>
			</g:hasErrors>
			<g:form action="save" >
				<fieldset class="form">
					<g:render template="form"/>
				</fieldset>
				<fieldset class="buttons">
					<g:submitButton name="create" class="save" value="${message(code: 'Create')}" />
                                        <g:link class="save" controller="admin" action="listVehicle">Return</g:link>
				</fieldset>
			</g:form>
		</div>
	<body>
</html>
